package com.wanmait.recycle.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.wanmait.recycle.service.ConfigService;

@Controller
@RequestMapping("/manager")
public class ManageSystemController {
	
	@Resource
	private ConfigService configService;

	@RequestMapping("managerIndex")
	public void managerIndex() {
		
	}


	@RequestMapping("welcome")
	public void welcome() {
		
	}
	
	@RequestMapping("clearCache")
	@ResponseBody
	public boolean clearCache() {
		try {
			configService.clearCache();
		} catch (Exception e) {
			return false;
		}
		return true;
	}
	
	
}
/*	
	@RequestMapping("userinfo/userList")
	public void userList(){
		
	}
	
	@RequestMapping("userinfo/userDel")
	public void userDel(){
		
	}
	
	@RequestMapping("userinfo/userApprovePic")
	public void ApprovePic(){
		
	}
	
	@RequestMapping("admin/adminAdd")
	public void adminAdd(){
		
	}
	
	@RequestMapping("admin/adminSuper")
	public void adminSuper(){
		
	}
	
	@RequestMapping("admin/adminList")
	public void adminList(){
		
	}
	
	@RequestMapping("admin/changePassword")
	public void changePassword(){
		
	}
	
	@RequestMapping("system/systemMenu")
	public void systemMenu(){
		
	}	
	
	@RequestMapping("system/systemData")
	public void systemData(){
		
	}	

	@RequestMapping("system/systemLog")
	public void systemLog(){
		
	}
	
	@RequestMapping("rubbishTypeSec/rubbishTypeAdd")
	public void rubbishTypeAdd(){
		
	}	
	
	@RequestMapping("rubbishTypeSec/rubbishTypeList")
	public void rubbishTypeList(){
		
	}	
	@RequestMapping("rubbishTypeSec/rubbishTypePic")
	public void rubbishTypePic(){
		
	}	
	@RequestMapping("rubbishTypeSec/rubbishTypeShow")
	public void rubbishTypeShow(){
		
	}	
	
	
	
	@RequestMapping("rubbishTypeFir/rubbishTypeAdd")
	public void rubbishTypeAdd1(){
		
	}
	
	@RequestMapping("rubbishTypeFir/rubbishTypeList")
	public void rubbishTypeList2(){
		
	}
	
	@RequestMapping("rubbish/rubbishAdd")
	public void rubbishAdd(){
		
	}
	@RequestMapping("rubbish/rubbishList")
	public void rubbishList(){
		
	}
	@RequestMapping("rubbish/rubbishManage")
	public void rubbishManage(){
		
	}
	@RequestMapping("rubbish/rubbishPicShow")
	public void rubbishPicShow(){
		
	}

	
	@RequestMapping("charts/chartsTime")
	public void chartsTime(){
		
	}
	@RequestMapping("charts/chartsPie")
	public void chartsPie(){
		
	}
	@RequestMapping("charts/chartsMonth")
	public void chartsMonth(){
		
	}
	@RequestMapping("charts/chartsLocation")
	public void chartsLocation(){
		
	}
	@RequestMapping("charts/chartsLine")
	public void chartsLine(){
		
	}
	@RequestMapping("charts/charts3DPie")
	public void charts3DPie(){
		
	}
	@RequestMapping("charts/charts3D")
	public void charts3D(){
		
	}
	
}





















*/